package com.yllt4cloud.ddauth.service;

import com.yllt4cloud.common.ddbase.domain.Clerk;
import com.yllt4cloud.common.ddbase.result.ClerkResult;
import com.yllt4cloud.common.ddbase.result.ClerkZhiWen;
import com.yllt4cloud.ddauth.service.base.IBaseService;

import java.util.List;
import java.util.Map;

/**
 * 
 * <br>
 * <b>功能：</b>IClerkService<br>
 * <b>作者：</b>Administrator<br>
 * <b>日期：</b> Tue Feb 12 10:53:44 CST 2019 <br>
 * <b>版权所有： 2016,yllt.com<br>
 */ 

public interface IClerkService extends IBaseService<Clerk> {

//    public Page<Clerk> queryPageByIds(Map<String, Object> paramMap, Page<Clerk> page);
    public List<Clerk> queryByIds(Map<String, Object> paramMap);
    public List<ClerkZhiWen> listZhiWen();

    public List<Integer> queryIdsByIds(Map<String, Object> paramMap);
    public Clerk cardGetClerk(String clerkCardNum);

//    public int editSecurity(EditSecurityParam param);

//    public List<ClerkResult> findRecords(Map<String, Object> paramMap);


//    public Page<ClerkResult> queryHuaMingCePage(Map<String, Object> paramMap, Page<ClerkResult> page);

    /**
     * 从redis 缓存中获取 全部可用的员工信息
     * @return
     */
//    public ConcurrentHashMap<String, Clerk> allClerkFromRedis();

    public List<ClerkResult> queryHuaMingCeList(Map<String, Object> paramMap);


    /**
     * 新版的查询优化
     * @param paramMap
     * @param page
     * @return
     */
//    public Page<ClerkQueryResult> queryClerkNewPage(Map<String, Object> paramMap, Page<ClerkQueryResult> page);
}
